
function FieldObj(sFieldName, sDataType, bRequired, sOrgRequired, bSpan, oDisplayNames, oLabels, oOptions, oPropertyBag)
{
	this.FieldName		= sFieldName;
	this.DataType		= sDataType;
	this.Required		= bRequired;
	this.OrgRequired	= sOrgRequired;
	this.DisplayNames	= oDisplayNames; // an array of LocalizedObjs
	this.Labels			= oLabels; // an array of LocalizedObjs
	this.Options		= oOptions; // an array of OptionObjs
	this.PropertyBag	= oPropertyBag; // an specialized object of properties
}

// this is used to store labels and displaynames
//
function LocalizedObj(sDescription, sLanguageCode)
{
	this.Description	= sDescription;
	this.LanguageCode	= sLanguageCode;
}
